package com.lanou.hotel.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lanou.hotel.entity.Guests;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lanou.hotel.entity.response.GuestsItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author msy
 * @since 2023-10-29
 */
public interface GuestsMapper extends BaseMapper<Guests> {

    List<GuestsItem> getGuests(Page<Guests> guestsPage, @Param("guests") Guests guests, @Param("startTime") String startTime, @Param("endTime") String endTime);
}
